package com.hsylient.event.listener;

import com.hsylient.event.event.PriceLogEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class PriceLogListener {


    @EventListener
    public void dealPriceLog(PriceLogEvent priceLogEvent) {
        System.out.println(priceLogEvent.getOrder());
    }
}
